package com.tengfei.main.plan.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tengfei.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户课程对象 sp_user_course
 *
 * @author tengfei
 * @date 2022-08-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sp_user_course")
public class UsersCourse extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 章节id
     */
    private Long chapterId;
    /**
     * 视频id
     */
    private Long videoId;
    /**
     * 当前章节视频看完
     */
    private Integer chapterFinish;
    /**
     * 当前视频是否看完
     */
    private Integer videoFinish;
    /**
     * 当前视频已观看的时间
     */
    private Integer videoNowDuration;
    /**
     * 逻辑删除
     */
    private Integer showStatus;

}
